package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水位计检定任务报送对象 t_waterleveltasks
 * 
 * @author ruoyi
 * @date 2024-07-07
 */
public class TWaterleveltasks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务编号 */
    private String taskId;

    /** 仪器检定编号 */
    @Excel(name = "仪器检定编号")
    private String deviceId;

    /** 样品名称 */
    @Excel(name = "样品名称")
    private String deviceName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String deviceModel;

    /** 制造商 */
    @Excel(name = "制造商")
    private String manufacturer;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    private String leavefactoryId;

    /** 测量范围 */
    @Excel(name = "测量范围")
    private String measureRange;

    /** 最大允许误差 */
    @Excel(name = "最大允许误差")
    private String maxallowerror;

    /** 检定状态:1：未检；2：已检；2：已上传 */
    @Excel(name = "检定状态:1：未检；2：已检；2：已上传")
    private String calibrationstate;

    /** 送检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "送检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sddate;

    /** 送检单位 */
    @Excel(name = "送检单位")
    private String calibrationcompany;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String companyaddr;

    /** 检定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date calibrationdate;

    /** 联系人员 */
    @Excel(name = "联系人员")
    private String person;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String iphone;

    /** 操作人员账号 */
    @Excel(name = "操作人员账号")
    private String userId;

    /** 下载日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下载日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cratetime;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadtime;

    /** 仪器类别：0 其他 1 雷达 2 超声 */
    @Excel(name = "仪器类别：0 其他 1 雷达 2 超声")
    private Long devicetype;

    /** 检定结果：合格、不合格 */
    @Excel(name = "检定结果：合格、不合格")
    private String calibresult;

    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceModel(String deviceModel) 
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel() 
    {
        return deviceModel;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setLeavefactoryId(String leavefactoryId) 
    {
        this.leavefactoryId = leavefactoryId;
    }

    public String getLeavefactoryId() 
    {
        return leavefactoryId;
    }
    public void setMeasureRange(String measureRange) 
    {
        this.measureRange = measureRange;
    }

    public String getMeasureRange() 
    {
        return measureRange;
    }
    public void setMaxallowerror(String maxallowerror) 
    {
        this.maxallowerror = maxallowerror;
    }

    public String getMaxallowerror() 
    {
        return maxallowerror;
    }
    public void setCalibrationstate(String calibrationstate) 
    {
        this.calibrationstate = calibrationstate;
    }

    public String getCalibrationstate() 
    {
        return calibrationstate;
    }
    public void setSddate(Date sddate) 
    {
        this.sddate = sddate;
    }

    public Date getSddate() 
    {
        return sddate;
    }
    public void setCalibrationcompany(String calibrationcompany) 
    {
        this.calibrationcompany = calibrationcompany;
    }

    public String getCalibrationcompany() 
    {
        return calibrationcompany;
    }
    public void setCompanyaddr(String companyaddr) 
    {
        this.companyaddr = companyaddr;
    }

    public String getCompanyaddr() 
    {
        return companyaddr;
    }
    public void setCalibrationdate(Date calibrationdate) 
    {
        this.calibrationdate = calibrationdate;
    }

    public Date getCalibrationdate() 
    {
        return calibrationdate;
    }
    public void setPerson(String person) 
    {
        this.person = person;
    }

    public String getPerson() 
    {
        return person;
    }
    public void setIphone(String iphone) 
    {
        this.iphone = iphone;
    }

    public String getIphone() 
    {
        return iphone;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setCratetime(Date cratetime) 
    {
        this.cratetime = cratetime;
    }

    public Date getCratetime() 
    {
        return cratetime;
    }
    public void setUploadtime(Date uploadtime) 
    {
        this.uploadtime = uploadtime;
    }

    public Date getUploadtime() 
    {
        return uploadtime;
    }
    public void setDevicetype(Long devicetype) 
    {
        this.devicetype = devicetype;
    }

    public Long getDevicetype() 
    {
        return devicetype;
    }
    public void setCalibresult(String calibresult) 
    {
        this.calibresult = calibresult;
    }

    public String getCalibresult() 
    {
        return calibresult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("deviceModel", getDeviceModel())
            .append("manufacturer", getManufacturer())
            .append("leavefactoryId", getLeavefactoryId())
            .append("measureRange", getMeasureRange())
            .append("maxallowerror", getMaxallowerror())
            .append("calibrationstate", getCalibrationstate())
            .append("sddate", getSddate())
            .append("calibrationcompany", getCalibrationcompany())
            .append("companyaddr", getCompanyaddr())
            .append("calibrationdate", getCalibrationdate())
            .append("person", getPerson())
            .append("iphone", getIphone())
            .append("userId", getUserId())
            .append("cratetime", getCratetime())
            .append("uploadtime", getUploadtime())
            .append("devicetype", getDevicetype())
            .append("calibresult", getCalibresult())
            .toString();
    }
}
